<form action="{uri args="acp/pages/delete"}" method="post">
	<div id="adm-list">
		<a href="{uri args="acp/pages/create"}" title="{lang values="pages|create"}"><img src="{icon path="32/kmenuedit"}" alt="{lang values="pages|create"}" /></a>
		<a href="{uri args="acp/pages/adm_list_blocks"}" title="{lang values="pages|adm_list_blocks"}"><img src="{icon path="32/blockdevice"}" alt="{lang values="pages|adm_list_blocks"}" /></a>
		<input type="image" src="{icon path="32/cancel"}" alt="{lang values="common|delete_marked"}" title="{lang values="common|delete_marked"}" />
		<h2>{lang values="pages|pages_overview"}</h2>
	</div>
	<hr />
{if isset($pages_list)}
	<table>
		<thead>
			<tr>
				<th>{lang values="common|mark"}</th>
				<th>{lang values="common|publication_period"}</th>
				<th>{lang values="pages|title"}</th>
				<th>{lang values="pages|page_type"}</th>
			</tr>
		</thead>
		<tbody>
{foreach from=$pages_list key=block item=pages}
			<tr>
				<td colspan="4" class="sub-table-header">{$block}</td>
			</tr>
{foreach from=$pages item=row}
			<tr>
				<td><input type="checkbox" name="entries[]" value="{$row.id}" /></td>
				<td>{$row.start} {lang values="common|until"} {$row.end}</td>
				<td><a href="{uri args="acp/pages/edit/id_`$row.id`"}" title="{lang values="pages|edit"}">{$row.title}</a></td>
				<td>{$row.mode}</td>
			</tr>
{/foreach}
{/foreach}
		</tbody>
	</table>
{mark name="entries"}
{else}
	<div class="error">
		<h5>{lang values="common|no_entries"}</h5>
	</div>
{/if}
</form>